/* 通用样式类 */

/* 卡片容器 */
.card-container {
  background-color: #fff;
  margin: 12px;
  padding: 16px;
  border-radius: 8px;
}

/* 卡片容器（无内边距） */
.card-container-no-padding {
  background-color: #fff;
  margin: 12px;
  border-radius: 8px;
  overflow: hidden;
}

/* 页面背景 */
.page-background {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* 顶部导航栏 */
.top-nav {
  background-color: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 返回按钮 */
.back-button {
  font-size: 18px;
  cursor: pointer;
  margin-right: 16px;
  color: #333;
}

/* 页面标题 */
.page-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  flex: 1;
  text-align: center;
}

/* 分割线 */
.divider {
  border-bottom: 1px solid #f0f0f0;
}

/* 价格文本 */
.price-text {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: bold;
}

/* 商品标题 */
.product-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #333;
}

/* 商品描述 */
.product-description {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

/* 处方药标签 */
.rx-tag {
  background-color: #ff4d4f;
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: bold;
  margin-right: 6px;
}

/* 商品图片容器 */
.product-image-container {
  width: 80px;
  height: 80px;
  background-color: #ff4d4f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: 12px;
  position: relative;
}

/* 商品图片内层 */
.product-image-inner {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 商品图片占位符 */
.product-image-placeholder {
  width: 40px;
  height: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* 数量徽章 */
.quantity-badge {
  position: absolute;
  bottom: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: #ff4d4f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border: 1px solid #fff;
}

/* 底部支付栏 */
.bottom-payment-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999999;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

/* 支付按钮 */
.payment-button {
  --border-radius: 24px;
  --background-color: #07c160;
  --text-color: #fff;
  --border-color: #07c160;
  min-width: 120px;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
}

/* 地址图标 */
.address-icon {
  font-size: 18px;
  color: #07c160;
  margin-right: 12px;
  margin-top: 2px;
}

/* 箭头图标 */
.arrow-icon {
  font-size: 16px;
  color: #999;
}

/* 微信图标 */
.wechat-icon {
  font-size: 18px;
  margin-right: 8px;
  color: #07c160;
}

/* 银行卡图标 */
.card-icon {
  font-size: 18px;
  margin-right: 8px;
  color: #333;
}

/* 添加处方按钮 */
.add-prescription-button {
  --border-radius: 20px;
  --background-color: #fff;
  --text-color: #07c160;
  --border-color: #07c160;
  margin-bottom: 8px;
  font-size: 14px;
  border: 1px solid #07c160;
}

/* 处方提示文字 */
.prescription-tip {
  font-size: 12px;
  color: #999;
}

/* 复选框样式 */
.checkbox-style {
  --icon-size: 18px;
  --checked-color: #07c160;
}

/* 实付金额标签 */
.actual-amount-label {
  font-size: 12px;
  color: #666;
}

/* 实付金额数值 */
.actual-amount-value {
  font-size: 18px;
  color: #ff4d4f;
  font-weight: bold;
} 